package com.itszt.manager.service;

import com.itszt.common.EasyUIPageDatasBean;
import com.itszt.common.EasyUITreeBean;
import com.itszt.pojo.TbItem;
import com.itszt.pojo.TbItemDesc;

import java.util.List;

public interface ItemService {

    public EasyUIPageDatasBean<TbItem> showPageItems(String pageNow, String rows);

    public List<EasyUITreeBean> showItemTrees(String parentid);

    public List<EasyUITreeBean> showTopItemCats();

    public boolean saveItems(TbItem tbItem, TbItemDesc tbItemDesc) throws Exception;

    public TbItem getItemByID(String itemid);

    public TbItemDesc getItemDescByID(String itemid);
}
